﻿Partial Class Text1
    Inherits Camalon.Drawing.ShapeContainer

    <System.Diagnostics.DebuggerNonUserCode()> _
    Public Sub New(ByVal container As System.ComponentModel.IContainer)
        MyClass.New()

        'Required for Windows.Forms Class Composition Designer support
        If (container IsNot Nothing) Then
            container.Add(Me)
        End If

    End Sub

    <System.Diagnostics.DebuggerNonUserCode()> _
    Public Sub New()
        MyBase.New()

        'This call is required by the Component Designer.
        InitializeComponent()

    End Sub

    'Component overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    End Sub

    'Required by the Component Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Component Designer
    'It can be modified using the Component Designer.
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Me.sTextRect = New Camalon.Drawing.Shapes.RectangleShape()
        Me.sRectPen = New Camalon.Drawing.ShapePen()
        Me.sTextShade = New Camalon.Drawing.Shade()
        Me.sShadeFill = New Camalon.Drawing.SolidFill()
        Me.sTextFill = New Camalon.Drawing.SolidFill()
        Me.sTextPen = New Camalon.Drawing.ShapePen()
        CType(Me, System.ComponentModel.ISupportInitialize).BeginInit()
        '
        'textRect
        '
        Me.sTextRect.BottomLeft = New Camalon.Drawing.Corner(0.2499998!, 0.0625001!)
        Me.sTextRect.BottomRight = New Camalon.Drawing.Corner(0.2500007!, 0.0625001!)
        Me.sTextRect.Font = New System.Drawing.Font("Arial Rounded MT Bold", 72.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.sTextRect.Pen = Me.sRectPen
        Me.sTextRect.Position = New System.Drawing.Point(120, 90)
        Me.sTextRect.Shade = Me.sTextShade
        Me.sTextRect.Size = New System.Drawing.Size(130, 440)
        Me.sTextRect.Text = "Your Text"
        Me.sTextRect.TextFill = Me.sTextFill
        Me.sTextRect.TextFormat.TextDirection = Camalon.Drawing.TextDirection.VerticalBottomToTop
        Me.sTextRect.TextPen = Me.sTextPen
        Me.sTextRect.TextShade = Me.sTextShade
        Me.sTextRect.TopLeft = New Camalon.Drawing.Corner(0.2499998!, 0.06250003!)
        Me.sTextRect.TopRight = New Camalon.Drawing.Corner(0.2500003!, 0.06250003!)
        '
        'rectPen
        '
        Me.sRectPen.Color = New Camalon.Drawing.TransparentColor(System.Drawing.Color.Coral)
        Me.sRectPen.Width = 3.0!
        '
        'textShade
        '
        Me.sTextShade.Fill = Me.sShadeFill
        Me.sTextShade.Offset = New System.Drawing.Point(5, 5)
        '
        'shadeFill
        '
        Me.sShadeFill.Color = New Camalon.Drawing.TransparentColor(System.Drawing.Color.FromArgb(CType(CType(230, Byte), Integer), CType(CType(189, Byte), Integer), CType(CType(51, Byte), Integer)))
        '
        'textFill
        '
        Me.sTextFill.Color = New Camalon.Drawing.TransparentColor(System.Drawing.Color.IndianRed)
        '
        'Text1
        '
        Me.Shapes.AddRange(New Camalon.Drawing.Shape() {Me.sTextRect})
        Me.Size = New System.Drawing.Size(450, 600)
        CType(Me, System.ComponentModel.ISupportInitialize).EndInit()

    End Sub
    Private WithEvents sTextRect As Camalon.Drawing.Shapes.RectangleShape
    Private WithEvents sRectPen As Camalon.Drawing.ShapePen
    Private WithEvents sTextShade As Camalon.Drawing.Shade
    Private WithEvents sShadeFill As Camalon.Drawing.SolidFill
    Private WithEvents sTextFill As Camalon.Drawing.SolidFill
    Private WithEvents sTextPen As Camalon.Drawing.ShapePen

End Class
